﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="DataBase.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False">
</asp:DetailsView>
            id：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            name：<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            pwd：<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
            <br />
            <br />
            <asp:Button ID="Button1" runat="server" Text="增加" OnClick="Button1_Click" />
            <asp:Button ID="Button2" runat="server" Text="删除" />
            <asp:Button ID="Button3" runat="server" Text="查看" OnClick="Button3_Click" />
            <asp:Button ID="Button4" runat="server" Text="更改" />
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:db_LibraryMSConnectionString %>" SelectCommand="SELECT * FROM [tb_admin]"></asp:SqlDataSource>
        </div>
    </form>
</body>
</html>
